package ru.ifmo.tanya.db;

import org.springframework.jdbc.core.JdbcTemplate;
import org.springframework.jdbc.datasource.SingleConnectionDataSource;

public class DataBaseManager {

    private static JdbcTemplate jdbcTemplate = new JdbcTemplate(new SingleConnectionDataSource("jdbc:mysql://localhost:3306/call_db?characterEncoding=UTF-8&useunicode=true&zeroDateTimeBehavior=convertToNull", false));

    public static JdbcTemplate getJdbcTemplate() {
        return jdbcTemplate;
    }
}
